package org.xudenghui.design;

import com.alibaba.fastjson.JSON;
import org.xudenghui.design.mq.OrderMq;

public class OrderMqService {

    public void onMessage(String message){
        OrderMq mq = JSON.parseObject(message, OrderMq.class);
        System.out.printf("获取OrderMq Mq消息{},{},{}",mq.getOrderId(),mq.getSku(),mq.getOrderId());
    }
}
